<template>
  <div class="left__nav">
    <div class="logo">
      <router-link to="/home">
<!--        <img src="@/assets/img/logo.png" alt="">-->
        <span class="title__logo"><span style="color: #6853da; font-weight: bold">Viewdance</span>管理系统</span>
      </router-link>
    </div>
    <el-menu
        default-active="2"
        class="el-menu-vertical-demo"
        >
<!--      <el-submenu index="1">-->
<!--        <template slot="title">-->
<!--          <i class="iconfont icon-jichuxinxi"></i>-->
<!--          <span>基本信息</span>-->
<!--        </template>-->
<!--        <router-link to="/basicInfo/tenantManage">-->
<!--          <el-menu-item index="1-1">-->
<!--            <i class="iconfont icon-yonghuguanli"></i>-->
<!--            租户管理-->
<!--          </el-menu-item>-->
<!--        </router-link>-->
<!--        <router-link to="/basicInfo/testSystem">-->
<!--          <el-menu-item index="1-2">-->
<!--            <i class="iconfont icon-ceshi"></i>-->
<!--            测试系统-->
<!--          </el-menu-item>-->
<!--        </router-link>-->
<!--      </el-submenu>-->
<!--      <el-submenu index="2">-->
<!--        <template slot="title">-->
<!--          <i class="iconfont icon-jichuxinxi"></i>-->
<!--          <span>权限管理</span>-->
<!--        </template>-->
<!--        <el-menu-item-group>-->
<!--          <router-link to="/rightManage/menu">-->
<!--            <el-menu-item index="2-1">-->
<!--              <i class="iconfont icon-caidan"></i>-->
<!--              菜单设置-->
<!--            </el-menu-item>-->
<!--          </router-link>-->
<!--          <router-link to="/rightManage/role">-->
<!--            <el-menu-item index="2-2">-->
<!--              <i class="iconfont icon-jiaoseguanli"></i>-->
<!--              角色设置-->
<!--            </el-menu-item>-->
<!--          </router-link>-->
<!--          <router-link to="/rightManage/user">-->
<!--            <el-menu-item index="2-3">-->
<!--              <i class="iconfont icon-xianxingtubiaozhizuomoban-42"></i>-->
<!--              用户设置-->
<!--            </el-menu-item>-->
<!--          </router-link>-->
<!--          <router-link to="/rightManage/menu">-->
<!--            <el-menu-item index="2-4">-->
<!--              <i class="iconfont icon-shenjiguanli"></i>-->
<!--              审计日志-->
<!--            </el-menu-item>-->
<!--          </router-link>-->
<!--        </el-menu-item-group>-->
<!--      </el-submenu>-->
      <el-submenu index="1">
        <template slot="title">
          <i class="iconfont icon-peizhi"></i>
          <span>配置管理</span>
        </template>
        <el-menu-item-group>
          <router-link to="/configManage/systemSetting">
            <el-menu-item index="1-1">
              <i class="iconfont icon-xitongguanli"></i>
              系统设置
            </el-menu-item>
          </router-link>
          <router-link to="/configManage/businessManage">
            <el-menu-item index="1-2">
              <i class="iconfont icon-yewuguanli"></i>
              业务管理
            </el-menu-item>
          </router-link>
          <router-link to="/configManage/storageConfig">
            <el-menu-item index="1-3">
              <i class="iconfont icon-cunchu"></i>
              存储配置
            </el-menu-item>
          </router-link>
          <router-link to="/configManage/transmissionConfig">
            <el-menu-item index="1-4">
              <i class="iconfont icon-chuanshushebei"></i>
              传输配置
            </el-menu-item>
          </router-link>
        </el-menu-item-group>
      </el-submenu>
	    <el-submenu index="2">
		    <template slot="title">
			    <i class="iconfont icon-wenjianjia"></i>
			    <span>内容管理</span>
		    </template>
		    <el-menu-item-group>
			    <router-link to="/contentManage/fileRecord">
				    <el-menu-item index="2-1">
					    <i class="iconfont icon-shenjiguanli"></i>
					    操作记录
				    </el-menu-item>
			    </router-link>
		    </el-menu-item-group>
	    </el-submenu>
    </el-menu>
  </div>
</template>

<script>
export default {
  name: "LeftNav",
  methods:{
  }
}
</script>

<style scoped lang="scss">
.left__nav{
  width: 100%;
  .logo{
    padding: 5px 2px;
    height: 30px;
    text-align: center;
    img{
      max-width: 35px;
      vertical-align: middle;
    }
    span{
      vertical-align: middle;
      display: inline-block;
      line-height: 35px;
      font-size: 18px;
      color: #333333;
    }
  }
  .el-menu{
    border-right: 0!important;
    .el-submenu {
      /deep/ .el-submenu__title{
	      padding-left: 30px!important;
        font-size: 14px!important;
        .iconfont{
          margin: 0 8px;
        }
      }
      .el-menu-item{
        min-width: 10px!important;
      }
    }
  }
  /deep/ .el-menu-item-group__title{
    padding: 0!important;
  }
	.title__logo{
		font-weight: bold;
		color: black;
		letter-spacing: 0.2px;
	}
}
</style>
